package com.example.demoresilience4jfeignconsumer;

import feign.RequestInterceptor;
import feign.RequestTemplate;

import java.util.UUID;

public class Resllience4jFeigniRequestInterceptor implements RequestInterceptor {
        @Override
        public void apply(RequestTemplate requestTemplate) {
        requestTemplate.header("User-Agent", UUID.randomUUID().toString());
    }
}